
    /* ===== 仪表盘特定样式 ===== */
    .dashboard-page {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* 控制栏样式 */
    .dashboard-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .time-filter {
        display: flex;
        gap: 0.5rem;
    }
    
    .time-btn {
        padding: 0.5rem 1rem;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        background: white;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s;
    }
    
    .time-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    /* 指标展示区 */
    .metric-showcase {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .metric-card {
        background: white;
        border-radius: 10px;
        padding: 1.5rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        gap: 1.5rem;
        transition: transform 0.3s;
    }
    
    .metric-card.highlight {
        border-left: 4px solid var(--primary-color);
    }
    
    .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(76, 175, 80, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    
    .metric-content {
        flex: 1;
    }
    
    .metric-value {
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--text-color);
        margin-bottom: 0.3rem;
    }
    
    .metric-label {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }
    
    .metric-trend {
        font-size: 0.8rem;
    }
    
    .metric-trend.up {
        color: var(--primary-color);
    }
    
    .metric-trend.down {
        color: var(--danger-color);
    }
    
    .metric-comparison {
        font-size: 0.8rem;
        color: var(--text-light);
    }
    
    /* 数据可视化区块 */
    .data-visualization {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .visual-card {
        background: white;
        border-radius: 10px;
        padding: 1.5rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .action-btn {
        background: none;
        border: none;
        color: var(--text-light);
        cursor: pointer;
    }
    
    /* 进度条样式 */
    .progress-bars {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-item {
        margin-bottom: 0.8rem;
    }
    
    .progress-label {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .progress-bar {
        height: 8px;
        background: #f5f5f5;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        border-radius: 4px;
    }
    
    /* 用户活跃度样式 */
    .activity-levels {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .level-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .level-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }
    
    .level-dot.high {
        background: var(--primary-color);
    }
    
    .level-dot.medium {
        background: var(--warning-color);
    }
    
    .level-dot.low {
        background: var(--danger-color);
    }
    
    .level-info {
        flex: 1;
    }
    
    .level-label {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .level-value {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .text-muted {
        color: var(--text-light);
        font-weight: normal;
    }
    
    /* 数据表格样式 */
    .data-table-section {
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .section-header h3 {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .styled-table-container {
        overflow-x: auto;
        padding: 0 1.5rem 1.5rem;
    }
    
    .styled-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }
    
    .styled-table th,
    .styled-table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
    
    .styled-table th {
        font-weight: 600;
        color: var(--text-light);
        background-color: #f9f9f9;
        white-space: nowrap;
    }
    
    .styled-table tr:last-child td {
        border-bottom: none;
    }
    
    .status-badge {
        display: inline-block;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .status-badge.completed {
        background: rgba(76, 175, 80, 0.1);
        color: var(--primary-color);
    }
    
    .status-badge.shipped {
        background: rgba(33, 150, 243, 0.1);
        color: var(--info-color);
    }
    
    .status-badge.processing {
        background: rgba(255, 193, 7, 0.1);
        color: var(--warning-color);
    }
    
    /* 响应式设计 */
    @media (max-width: 768px) {
        .dashboard-controls {
            flex-direction: column;
            align-items: stretch;
        }
        
        .time-filter {
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }
        
        .metric-showcase {
            grid-template-columns: 1fr;
        }
        
        .data-visualization {
            grid-template-columns: 1fr;
        }
        
        .styled-table th,
        .styled-table td {
            padding: 0.75rem;
        }
    }

    /* 添加在dashboard.css文件末尾 */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.toast-success {
    background-color: var(--primary-color);
}

.toast-error {
    background-color: var(--danger-color);
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 加载动画 */
.fa-spinner {
    margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .metric-card {
        flex-direction: column;
        text-align: center;
    }
    
    .metric-icon {
        margin-bottom: 1rem;
    }
    
    .toast {
        width: calc(100% - 40px);
        left: 20px;
        right: auto;
    }
}